[INFO] fetching crate gphoto2 3.4.1...
[INFO] checking gphoto2-3.4.1 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate gphoto2 3.4.1 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate gphoto2 3.4.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate gphoto2 3.4.1
[INFO] tweaked toml for crates.io crate gphoto2 3.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate gphoto2 3.4.1 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate gphoto2 3.4.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ce9a89f178621be4321b1f9b89515f27cae2cdb3eb96a053573430463645b906
[INFO] running `Command { std: "docker" "start" "-a" "ce9a89f178621be4321b1f9b89515f27cae2cdb3eb96a053573430463645b906", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ce9a89f178621be4321b1f9b89515f27cae2cdb3eb96a053573430463645b906", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce9a89f178621be4321b1f9b89515f27cae2cdb3eb96a053573430463645b906", kill_on_drop: false }`
[INFO] [stdout] ce9a89f178621be4321b1f9b89515f27cae2cdb3eb96a053573430463645b906
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c08435ebb9c4408f546eadfddfdd300e629f67fd83473e85979d0b78b3556ab
[INFO] running `Command { std: "docker" "start" "-a" "4c08435ebb9c4408f546eadfddfdd300e629f67fd83473e85979d0b78b3556ab", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling prettyplease v0.2.30
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling either v1.14.0
[INFO] [stderr]    Compiling bindgen v0.65.1
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking insta v1.42.2
[INFO] [stderr]    Compiling libgphoto2_sys v1.2.3
[INFO] [stderr]     Checking gphoto2 v3.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: The test feature must be enabled to run the tests
[INFO] [stdout]   --> src/lib.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | compile_error!("The test feature must be enabled to run the tests");
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gphoto2` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/abilities.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |   pub fn id(&self) -> Cow<str> {
[INFO] [stdout]     |             ^^^^^     -------- the same lifetime is hidden here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 127 |   pub fn id(&self) -> Cow<'_, str> {
[INFO] [stdout]     |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/abilities.rs:132:16
[INFO] [stdout]     |
[INFO] [stdout] 132 |   pub fn model(&self) -> Cow<str> {
[INFO] [stdout]     |                ^^^^^     -------- the same lifetime is hidden here
[INFO] [stdout]     |                |
[INFO] [stdout]     |                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 132 |   pub fn model(&self) -> Cow<'_, str> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/file.rs:120:17
[INFO] [stdout]     |
[INFO] [stdout] 120 |   pub fn folder(&self) -> Cow<str> {
[INFO] [stdout]     |                 ^^^^^     -------- the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 120 |   pub fn folder(&self) -> Cow<'_, str> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/file.rs:125:15
[INFO] [stdout]     |
[INFO] [stdout] 125 |   pub fn name(&self) -> Cow<str> {
[INFO] [stdout]     |               ^^^^^     -------- the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 125 |   pub fn name(&self) -> Cow<'_, str> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/filesys.rs:32:23
[INFO] [stdout]     |
[INFO] [stdout] 32  |           pub fn $field(&self) -> Option<$ty> {
[INFO] [stdout]     |                         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 116 | / storage_info!(
[INFO] [stdout] 117 | |   /// Image thumbnail information
[INFO] [stdout] 118 | |   FileInfoPreview: CameraFileInfoFields, |info: CameraFileInfoPreview| {
[INFO] [stdout] 119 | |     /// Status of the preview file
[INFO] [stdout] ...   |
[INFO] [stdout] 124 | |     mime_type: Cow<str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_);
[INFO] [stdout]     | |                -------- the same lifetime is hidden here
[INFO] [stdout] ...   |
[INFO] [stdout] 130 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 124 |     mime_type: Cow<'_, str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_);
[INFO] [stdout]     |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/filesys.rs:32:23
[INFO] [stdout]     |
[INFO] [stdout] 32  |           pub fn $field(&self) -> Option<$ty> {
[INFO] [stdout]     |                         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 132 | / storage_info!(
[INFO] [stdout] 133 | |   /// Info for image file
[INFO] [stdout] 134 | |   FileInfoFile: CameraFileInfoFields, |info: CameraFileInfoFile| {
[INFO] [stdout] 135 | |     /// Status of the file
[INFO] [stdout] ...   |
[INFO] [stdout] 140 | |     mime_type: Cow<str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_);
[INFO] [stdout]     | |                -------- the same lifetime is hidden here
[INFO] [stdout] ...   |
[INFO] [stdout] 150 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 140 |     mime_type: Cow<'_, str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_);
[INFO] [stdout]     |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/filesys.rs:32:23
[INFO] [stdout]     |
[INFO] [stdout] 32  |           pub fn $field(&self) -> Option<$ty> {
[INFO] [stdout]     |                         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 152 | / storage_info!(
[INFO] [stdout] 153 | |   /// Info for file audio data
[INFO] [stdout] 154 | |   FileInfoAudio: CameraFileInfoFields, |info: CameraFileInfoAudio| {
[INFO] [stdout] 155 | |     /// Status of the audio file
[INFO] [stdout] ...   |
[INFO] [stdout] 160 | |     mime_type: Cow<str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_);
[INFO] [stdout]     | |                -------- the same lifetime is hidden here
[INFO] [stdout] 161 | |   }
[INFO] [stdout] 162 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 160 |     mime_type: Cow<'_, str> = GP_FILE_INFO_TYPE, char_slice_to_cow(&info.type_);
[INFO] [stdout]     |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/filesys.rs:32:23
[INFO] [stdout]     |
[INFO] [stdout] 32  |           pub fn $field(&self) -> Option<$ty> {
[INFO] [stdout]     |                         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 241 | / storage_info!(
[INFO] [stdout] 242 | |   /// Information about a storage on the camera
[INFO] [stdout] 243 | |   StorageInfo: CameraStorageInfoFields, |info: CameraStorageInformation| {
[INFO] [stdout] 244 | |     /// Label of the storage
[INFO] [stdout] 245 | |     label: Cow<str> = GP_STORAGEINFO_LABEL, char_slice_to_cow(&info.label);
[INFO] [stdout]     | |            -------- the same lifetime is hidden here
[INFO] [stdout] ...   |
[INFO] [stdout] 263 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 245 |     label: Cow<'_, str> = GP_STORAGEINFO_LABEL, char_slice_to_cow(&info.label);
[INFO] [stdout]     |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/filesys.rs:32:23
[INFO] [stdout]     |
[INFO] [stdout] 32  |           pub fn $field(&self) -> Option<$ty> {
[INFO] [stdout]     |                         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 241 | / storage_info!(
[INFO] [stdout] 242 | |   /// Information about a storage on the camera
[INFO] [stdout] 243 | |   StorageInfo: CameraStorageInfoFields, |info: CameraStorageInformation| {
[INFO] [stdout] 244 | |     /// Label of the storage
[INFO] [stdout] ...   |
[INFO] [stdout] 247 | |     base_directory: Cow<str> = GP_STORAGEINFO_BASE, char_slice_to_cow(&info.basedir);
[INFO] [stdout]     | |                     -------- the same lifetime is hidden here
[INFO] [stdout] ...   |
[INFO] [stdout] 263 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 247 |     base_directory: Cow<'_, str> = GP_STORAGEINFO_BASE, char_slice_to_cow(&info.basedir);
[INFO] [stdout]     |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/filesys.rs:32:23
[INFO] [stdout]     |
[INFO] [stdout] 32  |           pub fn $field(&self) -> Option<$ty> {
[INFO] [stdout]     |                         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 241 | / storage_info!(
[INFO] [stdout] 242 | |   /// Information about a storage on the camera
[INFO] [stdout] 243 | |   StorageInfo: CameraStorageInfoFields, |info: CameraStorageInformation| {
[INFO] [stdout] 244 | |     /// Label of the storage
[INFO] [stdout] ...   |
[INFO] [stdout] 249 | |     description: Cow<str> = GP_STORAGEINFO_DESCRIPTION, char_slice_to_cow(&info.description);
[INFO] [stdout]     | |                  -------- the same lifetime is hidden here
[INFO] [stdout] ...   |
[INFO] [stdout] 263 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: this warning originates in the macro `storage_info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 249 |     description: Cow<'_, str> = GP_STORAGEINFO_DESCRIPTION, char_slice_to_cow(&info.description);
[INFO] [stdout]     |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4c08435ebb9c4408f546eadfddfdd300e629f67fd83473e85979d0b78b3556ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c08435ebb9c4408f546eadfddfdd300e629f67fd83473e85979d0b78b3556ab", kill_on_drop: false }`
[INFO] [stdout] 4c08435ebb9c4408f546eadfddfdd300e629f67fd83473e85979d0b78b3556ab
